home *** CD-ROM | disk | FTP | other *** search
-
-
-
-
-
-
-
-
-
- CHESS MONITOR PROGRAM FOR DOORS
-
- for the
-
- IBM Personal Computer
-
- Version 15.XX
-
-
-
-
-
-
- by
-
- Bob Westcott
- 7 Dunloggin Drive
- Merrimack N.H. 03054
- Voice (603) 424-6977
- Data (603) 424-5497
-
- April 1, 1987
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- First thing I must do is to thank Tom Mack and Jon Martin for the
- time, energy (and love) for the best BBS in the country.
- Without there effort none of us would be able to run such a
- wonderful piece of software such as the RBBS-PC.
-
- 1.1 Indroduction
- ----------------
- The Chessdor program is a program that will allow you to run it
- out of the (D)oor's area of the RBBS. It comes complete with all
- required programs and batch files. As in all software we hope
- there are no bugs, but if you find some please inform me so that
- they can be corrected and make this a useful part of the RBBS.
- If you would like to see the software in operation you may call
- my RBBS and leave a comment to be registored and list yourself as
- a sysop with the phone number of your RBBS and I will give you
- the required access level to look at chess and see the games in
- action.
-
- Because it us very possible to cause a security problem on the
- RBBS (people being able to get into your DOS) the source will not
- be made available. I will help anyone who is interested in the
- way you write software to work on the 'Doors' that calls.
-
- The software is able to handle multi-tasking under Multi-Link and
- Double Dos, but is limited to only 2 nodes.
-
- 1.2 Update Conventions
- ----------------------
- Since this software is very closely tied to the RBBS software
- I will update it when new version/levels of the RBBS are
- released. The version level of CHESSDOR will be the same as the
- version level that it will work with of the RBBS.
- I will try to have the latest versions on both Tom Mack and Jon
- Martin boards and of course the latest version will always be on
- my RBBS.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 1.3 What is CHESSDOR
- --------------------
- CHESSDOD is a program that will allow your users to play chess
- with each other (not with the computer).
- This program has only been tested on a IBM-XT, but should run on
- all computers that the RBBS will run on.
- It will:
- 1. Monitor all moves to insure they are valid.
- 2. Inform both players if either are in check.
- 3. Allow castling.
- 4. Allow pawn promotion.
- 5. Let non-players see any of the games that are in progress.
- 6. Inform players if it is they move.
- 7. Display what openings are available to play.
- 8. Allow the sysop to run both local and remote.
- 9. Let the sysop make moves that are invalid to set up problems
- if wanted and correct program boo boo's.
- 10.Allow the sysop to chat with players.
- 11.Allow the sysop to increase or decrease time in Chess.
- 12.Let the sysop set the colors his wishes (on his computer).
- 13.Allow the sysop to set the amount of time allowed in chess
- and the amount of time without a entry from the player.
- 14.Let the sysop set the amount of games that may be played at
- once. (Max is 30).
- 15.Automatically set up the game boards when first started and a
- new game board when someone quits.
- 16.Show players and viewers the score and last 5 moves of each
- player.
-
- It will NOT:
- 1. Inform players when they are in checkmate. (Player must
- quit).
- 2. Return you to the RBBS unless you have the fix to the new
- compilers.
- 3. Inform the players of a stalmate.
-
- 2.1 Required files
- ------------------
- You must have a batch file that you are running your RBBS from.
- The other files are supplied and are the CHESSDOR.EXE,
- CHESSDOR.DOC, CHESSDOR.SCR, and CHESS.BAT file.
- Also supplied are the SYSOP.DOC file and a PRELOG.CHS file.
- The purpose of the files are as follows:
- 1. CHESSDOR.EXE The operational software.
- 2. CHESSDOR.DOC The file which informs the player who what
- when and where.
- 3. CHESSDOR.SCR This is the score board, but it is also the
- file that holds your system requirements.
- 4. CHESS.BAT The batch file that gets you to CHESSDOR from
- the doors
- 5. SYSOP.DOC This file.
- 6. PRELOG.CHS The same as on the RBBS it allows you to place
- notices on the system.
-
-
- 2.0 Setup
- ---------
- Because this software reads information from the RBBS files it is
- very important that the supplied files MUST be placed on the same
- drive that the RBBS-PC.DEF, RBBS1PC.DEF, RBBS2PC.DEF are located.
-
- The sysop's name, the name of your RBBS, the users name, the comm
- port that is use, the number of data bits, and the baud rate is
- taken from the RBBS files and used in the CHESSDOR program
- without any need for you to insert them in a file.
- You must supply the following information in the 1st 5 fields of
- the CHESSDOR.SCR file:
-
- 1. Field #1 The number of games you are allowing at once. Max of
- 30 games are allowed.
- 2. Field #2 The foregound color.
- 3. Field #3 The backgroung color.
- 4. Field #4 The number of minutes a player is allowed without
- making a move.
- 5. Field #5 The total number of minutes allowed on chess.
- 6. Field #6 1=You are using the Door Monitor 0=No Door Monitor
-
- If the first 5 fields were 5,7,0,10,15,0 they will mean that you
- are allowing 5 games to be played at once, the foreground color
- is gray, the backgroung color is black, the player can go 10
- minutes without making a keyboard entry, the max. time allowed in
- chess is 15 minutes, and you are not using the Door Monitor. The
- player always gets warnings the last four minutes of his time at
- 1 minute intervals.
- The rest of the file is free format. You can look at the file
- supplied and see what I have set up.
-
-
- In all of the following examples I have drive A as my boot drive
- and when using DOUBLE DOS it is installed on my disk C, and when
- using MULTI-LINK it is located on drive A.
-
- I don't want you to think that the following examples are the
- only way to set up you system or even the best they are ways that
- will work and have been tested to work.
-
- The following is a example of how my batch files are setup:
-
- All of the following files have been supplied as stated in this
- doc. for your use and should be changed to work on your system.
-
-
-
-
-
-
-
- The following is for a NON-MULTI TASKING system
- -----------------------------------------------
-
- (The RBBS.BAT file kept on drive A to do auto reboots, power
- failures etc.)
-
- C: Go to drive with RBBS files.
- ASTCLOCK Restore clock and time of day.
- PROMPT $P $G Set up the prompt that I like.
- WATCHDG1 OFF Turn watchdog off.
- IF EXIST C:RCTTY.BAT DEL RCTTY.BAT To remove RCTTY.BAT file.
- RBBS-PC Call RBBS program.
- WATCHDG1 ON Place watchdog on.
- IF EXIST C:RCTTY.BAT C:RCTTY.BAT Run the RCTTY.BAT file. (**)
- A: Return to drive A.
- RBBS.BAT Restart this file.
-
- (**) This is where the RBBS software inserts what door file you
- are using if one was called if no door was called then batch file
- continues on its way without going to CHESS.BAT. This same file
- gets you to be remote sysop. To get a better idea of how it
- works you can go to doors, while in local, break the batch loop
- before the watchdog gets you and look at the RCTTY.BAT file.
-
-
- (The CHESS.BAT file located on drive C)
-
- C: Insure we are on C drive.
- WATCHDG1 OFF To allow chess program to
- monitor line (a must!!)
- CHESSDOR %1 Call the chess monitor pgm.
-
- DO NOT call the RBBS.BAT file when using version 15.xx of RBBS!!
-
- The door menu file called MENU5 is also supplied.
-
- The following is for Double Dos
- -------------------------------
- You must be running DOS 3.X or higher.
- You must have the following files:
-
- 1. RBBS1.BAT Node 1 calling batch file
- 2. RBBS2.BAT Node 2 calling batch file
- 3. CHESS-1.BAT Node 1 chess calling batch file
- 4. CHESS-2.BAT Node 2 chess calling batch file
- 5. DDCONFIG.SYS Supplied by Double Dos
- 6. DBLDANSI.SYS Supplied by Double Dos
- 7. CONFIG.SYS Allows color graphics on 2 nodes
- 8. AUTOEXEC.BAT Gets it all started
- 9. SHARE Supplied by DOS 3.X
- 10. MENU51 Shows node 2 doors menu.
- 11. MENU52 Shows node 2 doors menu.
-
-
- The RBBS1.BAT file on drive A:
-
- C: Puts you on the RBBS dv
- WATCHDG1 OFF Disarm Watch dog 1
- IF EXIST C:RCTTY1.BAT DEL C:RCTTY1.BAT Removes node 1 batch
- RBBS-PC 1 Node 1 RBBS call
- WATCHDG1 ON Arm Watch Dog 1
- IF EXIST C:RCTTY1.BAT C:RCTTY1.BAT Call the Door program
- A: Return to boot drive
- RBBS1 Call this batch file
-
- The RBBS2.BAT file on drive A:
-
- C: Puts you on the RBBS dv
- WATCHGDG2 OFF Disarm Watch Dog 2
- IF EXIST C:RCTTY2.BAT DEL C:RCTTY2.BAT Removes node 2 batch
- RBBS-PC 2 Node 2 RBBS call
- WATCHDG2 ON Arm Watch Dog 2
- IF EXIST C:RCTTY2.BAT C:RCTTY2.BAT Call the Door program
- A: Return to boot drive
- RBBS2 Call this batch file
-
- Notice that there is a different Watch Dog program for node 2
- and node 1.
- The RCTTY2.BAT is a different name than that in the node 1 call,
- these different names are made when you run CONFIG when it asks
- you for the door batch name.
-
- The CHESS-1.BAT file on drive C:
-
- C: Insure you are on RBBS drive
- WATCHDG1 OFF Disarm Watch Dog for Chess software
- because it has its own line monitor
- and if you use Watch Dog and someone
- hangs up in chess it will disconnect
- the user on the other node!!!
- CHESSDOR 1% Calls node 1 chess
-
- The CHESS-2.BAT file on driv C:
-
- C: Insure you are on the RBBS drive
- WATCHDG2 OFF Disarm Watch Dog (see above)
- CHESSDOR 1% Calls node 2 chess
-
- Do NOT remove the 'WATCHDGx ON' call from the RBBS1.BAT and
- RBBS2.BAT files as they are needed when you go to your DOS from
- remote (7 from the main menu).
-
-
-
-
- The DDCONFIG.SYS file on drive C:
-
- Set the parameters as you like (as your system requires), but if
- you use the file names that I have used in this example then the
- following parameters should be set as stated:
-
- top program = A:RBBS1
- bottom program = A:RBBS2
-
- The following parameters should be set as follows:
-
- top size = half
- priority = equal
-
- The DBLDANSI.SYS file supplied must be available on the drive
- that Double Dos is installed on.
-
- Your CONFIG.SYS (on both drive A & C)
- file should be changed as follows:
-
- You should REMOVE the DEVICE = ANSI.SYS statement from your
- CONFIG.SYS and insert DEVICE = DBLDANSI.SYS in its place.
- If you don't use a CONFIG.SYS then make on with the above
- statement in it.
-
- The AUTOEXEC.BAT file on drive A:
-
- A: Insure you are on the boot drive
- SHARE Program supplied with DOS 3.X
- C: Call drive that Double Dos is on
- DOUBLEDO Call Double Dos
-
- The MENU51 file on drive as stated in RBBS1PC.DEF file:
-
- Must have the door listed as 'CHESS-1' as the door if you used
- the same file names as I have (see supplied MENU51 file).
-
- The MENU52 file on drive as stated in RBBS2PC.DEF file:
-
- Must have the door listed as 'CHESS-2' as the door if you used
- the same file names as I have (see supplied MENU52 file).
-
- The following is for Multi-Link
- -------------------------------
-
- You must be running DOS 3.X or higher.
- When using CONFIG.EXE (supplied with the RBBS-PC) on selection
- #81 state using doors 'YES', using MULTILINK 'YES', window state
- '0' any other window number will caused the CHESSDOR program to
- hang. Therefore if you are using software that requires another
- window number you CANNOT use the doors for both!!!
-
-
-
-
- You must have the following files:
-
- 1. RBBS1.BAT Node 1 calling batch file.
- 2. RBBS2.BAT Node 2 calling batch file.
- 3. CHESS-1.BAT Node 1 chess calling batch file.
- 4. CHESS-2.BAT Node 2 chess calling batch file.
- 5. AUTOEXEC.BAT Gets it all started.
- 6. AUTOEXE1.BAT Gets node 1 started.
- 7. AUTOEXE2.BAT Gets node 2 started.
- 8. SHARE Supplied by DOS 3.X.
- 9. MENU51 Shows node 1 doors menu.
- 10. MENU52 Shoos node 2 doors menu.
-
- All the above files are set up the same way for Multi-Link as
- they were for Double Dos (except for AUTOEXEx.BAT) and you should
- see the examples in the above Double Dos area for how to set them
- up.
-
- The AUTOEXEC.BAT file on drive A:
-
- A: Insure you are on the boot drive
- SHARE Supplied with DOS 3.X
- MLINK /9,172/9,172 Start Multi Link on 2 nodes
-
- The AUTOEXE1.BAT file on drive A:
-
- RBBS1 Starts node 1 RBBS.
-
- The AUTOEXE2.BAT file on drive A:
-
- RBBS2 Starts node 2 RBBS.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 2.3 Running the chess game
- --------------------------
- After completing the setup as stated above insure that when
- running the CONFIG file for the RBBS that you have the doors open
- and allow the correct access level users to use the doors that
- you want.
-
- On the Main menu of the chess Monitor the name you have assigned
- to your RBBS via the CONFIG program will be placed as part of the
- header.
-
- That is all that is needed to make this work in remote. To run
- the program in local you must sign on the RBBS at your keyboard
- (remember what node if you are multi tasking) and then when the
- Main menu is displayed sign off. Then break out of the batch loop
- and enter CHESSDOR (If you are running NON-Multi Tasking),
- CHESSDOR 1 (If you are on node 1), CHESSDOR 2 (If you are on node
- 2). This will bring up the chess monitor in local and you can
- run/play in the local mode which functions the same as remote.
-
- The first time you bring up the system it will build the number
- of the required game files and inform you that it is building
- them. This will also happen whenever you increase the number of
- games that are allowed. If you decease the number of games
- allowed any active games above the number set can no longer be
- played!!
-
- While watching the screen when a remote user is on the chess
- monitor you will see the users name is in the lower left connor
- of the screen, in the middle will be the version # of the
- CHESSDOR.EXE program that you are using and the node that is
- operating, and on the right side you will have displayed the time
- the user started using the chess monitor. At the top on the main
- menu the banner will have the name of you RBBS as stated when you
- ran the CONFIG program. Also when the remote users screen does a
- clear yours will NOT it will just print (CLEAR SCREEN). The
- purpose of this is to keep the 25 line on your screen and clear
- to remote users screen.
-
- Whenever you are on the system, either local or remote the
- software will know you as the sysop and you will have one (1)
- extra function on the main menu and that is function 6A. This
- function will allow you to remove the validity checking when
- making moves and also allows you to insert pieces. Follow the
- instructions for format to insert pieces ie to remove a piece you
- can enter ;E4 this will place a blank space (remove) at location
- E4 on the chess board. If you enter WQ;E4 this will place a
- White Queen at location E4. BEWARE when you are in the sysop
- mode with no validation being done you can creat problems so be
- very careful when using this.
-
- If you are playing a game yourself with one of the users you
- should insure that the sysop mode is equal to 0 to insure that
- all the validity checks are done.
-
- The following two paragraphs are only true when using NO multi
- tasking or when using Double DOS.
-
- Pressing the function #10 key while a remote user is on the
- system will place you in the chat mode and allow you to talk with
- the player. To return the player to the game you must press the
- ESC key this is the same procedure as on the RBBS. The player
- does NOT have a function on his menu to call you.
-
- Pressing the function #8 key allows you to reduce or increase the
- time the player is allowed to stay on chess this one time. You
- will get a prompt for the number of minutes you wish to let them
- have then you enter a number and press enter. This will cause a
- message to be place on the screen to inform the player that the
- amount of time has changed.
-
- Good luck and enjoy this software.
-
- Bob...
-